
  <template>
  <div class="jsonIndexView">
    <h1>json模块之——————{{ route.name }}</h1>
    <!-- 子路由的出口 -->
    <router-view></router-view>
  </div>
</template>
  
<script setup lang='ts'>
import { ref, reactive } from "vue";
import { useRoute } from "vue-router";

// import { counter } from "@/stores/counter";

// const store = counter();
// console.log(store.username, "store.password,store.token"); //admin,password,23456
const route = useRoute();

// let res = indexAPI();
// console.log("***", res);

// indexAPI().then((res) => {
//   console.log("**333*", res);
//   // let { list, pageNum, pageSize, total } = res.data
// });
</script>
  
  <style scoped>
</style>
